package com.css.fxfzypg.modules.resultsManagement.repository;

import com.css.fxfzypg.base.attachment.entity.AttachmentInfoEntity;
import com.css.fxfzypg.modules.resultsManagement.entity.MapManagementEntity;
import com.css.fxfzypg.modules.resultsManagement.queryParams.MapManagementQueryParams;
import org.bouncycastle.util.Times;
import org.springframework.data.domain.Page;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

public interface MapManagementRepository {
    void saveMap(MapManagementEntity mapManagementEntity);

    MapManagementEntity getById(String id);

    void deleteByIds(List<String> ids, Timestamp timestamp);

    MapManagementEntity update(MapManagementEntity mapManagementEntity);

    Map<String,Object> queryMaps(MapManagementQueryParams queryParams, int curPage, int pageSize);

    MapManagementEntity getByLabel(String taskId,String mapLabel);

    List<MapManagementEntity> getByLabel(String taskId);

    List<String> getMapClassifyByTaskId(String taskId);
}
